package com.zcxy360.sandtable.util;

import org.apache.shiro.SecurityUtils;

import com.zcxy360.sandtable.domain.User;

public class ShiroUtil {

	public static User getUser() {
		return (User) SecurityUtils.getSubject().getSession().getAttribute("user");
	}
}
